package model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import play.db.jpa.GenericModel;

/**
 * The persistent class for the scheduleprice database table.
 * 
 */
@Entity
@Table(name = "scheduleprice")
//@JsonFilter(value="Scheduleprice_jf")
public class Scheduleprice extends GenericModel implements Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "ID")
	public Long id;
	
	public Long hashid;

	public String areatype;

	@Column(name = "BusBrand")
	public String busBrand;

	public Boolean cansell;

	@Column(name = "CREATEBY")
	public Long createby;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATETIME")
	public Date createtime;

	@Temporal(TemporalType.DATE)
	@Column(name = "DEPARTDATE")
	public Date departdate;

	public String departtime;

	public Double discountprice;
	
	public String endstationcode;
	
	public String endstationname;

	public String endtime;

	@Column(name = "FULLPRICE")
	public Double fullprice;

	@Column(name = "HALFPRICE")
	public Double halfprice;

	@Column(name = "ISLINEWORK")
	public Boolean islinework;

	public Boolean isovertime;

	public String orgcode;
	
	public String reachstationcode;
	
	public String reachstationname;

	public Integer remainkidseats;

	public Integer remainseats;

	public Integer rundistance;

	@Column(name = "RUNTIME")
	public Double runtime;

	public String schedulecode;

	public String scheduletype;

	public String schstatus;

	@Column(name = "SEATTYPE")
	public String seattype;

	public String starttime;

	@Column(name = "STUDENTPRICE")
	public Double studentprice;

	public String ticketentrance;

	public Double topprice;
	
	public Double rebateprice;//折扣票价
	public Double returnprice;//往返票价
	public Double tripprice;//联程票价
	public String isrealname;//是否实名制
	public String temp1;//保留字段1
	public String temp2;//保留字段2

	public Integer totalseats;

	@Column(name = "UPDATEBY")
	public Long updateby;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "UPDATETIME")
	public Date updatetime;

	public String vehiclelvl;

	public String vehicleno;

	public String vehicletype;

	public String waitingroom;
	
	public String extendinfo;
	
	public String routecode;

	public String routename;
	
	public String startstationname;
	public String venue;
	public Double ticketprice;
	public String direction;

	public String stopnames;
	
	public String version;

	public Scheduleprice(Long id, Long hashid, String areatype, String busBrand,
			Boolean cansell, Long createby, Date createtime, Date departdate,
			String departtime, Double discountprice, String endstationcode,
			String endstationname,String endtime, Double fullprice, Double halfprice,
			Boolean islinework, Boolean isovertime, String orgcode,
			String reachstationcode,String reachstationname,
			Integer remainkidseats, Integer remainseats,
			Integer rundistance, Double runtime, String schedulecode,
			String scheduletype, String schstatus, String seattype,
			String starttime, Double studentprice, String ticketentrance,
			Double topprice, Integer totalseats, Long updateby,
			Date updatetime, String vehiclelvl, String vehicleno,
			String vehicletype, String waitingroom,String extendinfo ,String routecode ,String routename,
			String startstationname, String venue, Double ticketprice,
			String direction,String stopnames,Double rebateprice,
			Double returnprice,Double tripprice,String isrealname,
			String temp1,String temp2,String version) {
		super();
		this.id = id;
		this.hashid = hashid;
		this.areatype = areatype;
		this.busBrand = busBrand;
		this.cansell = cansell;
		this.createby = createby;
		this.createtime = createtime;
		this.departdate = departdate;
		this.departtime = departtime;
		this.discountprice = discountprice;
		this.endstationcode = endstationcode;
		this.endstationname = endstationname;
		this.endtime = endtime;
		this.fullprice = fullprice;
		this.halfprice = halfprice;
		this.islinework = islinework;
		this.isovertime = isovertime;
		this.orgcode = orgcode;
		this.reachstationcode = reachstationcode;
		this.reachstationname = reachstationname;
		this.remainkidseats = remainkidseats;
		this.remainseats = remainseats;
		this.rundistance = rundistance;
		this.runtime = runtime;
		this.schedulecode = schedulecode;
		this.scheduletype = scheduletype;
		this.schstatus = schstatus;
		this.seattype = seattype;
		this.starttime = starttime;
		this.studentprice = studentprice;
		this.ticketentrance = ticketentrance;
		this.topprice = topprice;
		this.totalseats = totalseats;
		this.updateby = updateby;
		this.updatetime = updatetime;
		this.vehiclelvl = vehiclelvl;
		this.vehicleno = vehicleno;
		this.vehicletype = vehicletype;
		this.waitingroom = waitingroom;
		this.extendinfo = extendinfo;
		this.routecode = routecode;
		this.routename = routename;
		this.startstationname = startstationname;
		this.venue = venue;
		this.ticketprice = ticketprice;
		this.direction=direction;
		this.stopnames = stopnames;
		this.rebateprice = rebateprice;
		this.returnprice = returnprice;
		this.tripprice = tripprice;
		this.isrealname = isrealname;
		this.temp1 = temp1;
		this.temp2 = temp2;
		this.version = version;
	}
	
	

}